//
//  HBChannelSortCell.m
//  HeartBeat
//
//  Created by karong on 2023/8/31.
//

#import "HBChannelSortCell.h"
#import "HBCategoryModel.h"
@interface HBChannelSortCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIView *lineView;

@end

@implementation HBChannelSortCell
- (void)setDataWithObject:(HBCategoryItemModel *)object select:(BOOL)select {
    self.titleLabel.text = object.title;
    self.lineView.hidden = !select;
    self.titleLabel.textColor = select?UIColor.font_black_1A1A1A:[UIColor colorFromHexRGB:@"474747"];
    self.titleLabel.font = select?[UIFont systemFontOfSize:14 weight:(UIFontWeightMedium)]:[UIFont systemFontOfSize:12 weight:(UIFontWeightRegular)];
}
@end
